import React from 'react'
import { useLoaderData, useParams, useSearchParams } from "react-router-dom";

export default function About() {
  const { homeData } = useLoaderData();
  // console.log(homeData);
  const ppp = useParams()
  let [query] = useSearchParams()

  return (
    <div>About
      <p>{ppp.id}</p>
      <i>{query.get('cakeid')}</i>
    </div>
  )
}
